package com.tangx.apis.article;

import com.tangx.model.article.dtos.ArticleDto;
import com.tangx.model.common.dtos.ResponseResult;
import com.tangx.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Component;

/**
 * @author ：sean
 * @date ：Created in 2022/1/1
 * @description ：
 * @version: 1.0
 */
@Component
public class ArticleClientDefaultFallback implements IArticleClient {
	@Override
	public ResponseResult saveArticle(ArticleDto dto) {
		return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR);
	}
}
